package com.neuedu.studentmanage.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Teacher {

	private Integer id;
	private String tehId;
	private String password;
	private String name;
	private String sex;
	private Integer age;
	private String place;
	private String idNumber;
	private String tel;
	private String homeAdd;

	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date jobTime;

	private TehGrade tehGrade;

	private String job;
	private String status;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTehId() {
		return tehId;
	}

	public void setTehId(String tehId) {
		this.tehId = tehId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getHomeAdd() {
		return homeAdd;
	}

	public void setHomeAdd(String homeAdd) {
		this.homeAdd = homeAdd;
	}

	public Date getJobTime() {
		return jobTime;
	}

	public void setJobTime(Date jobTime) {
		this.jobTime = jobTime;
	}

	public TehGrade getTehGrade() {
		return tehGrade;
	}

	public void setTehGrade(TehGrade tehGrade) {
		this.tehGrade = tehGrade;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Teacher() {
		super();
	}

	public Teacher(Integer id) {
		super();
		this.id = id;
	}

	public Teacher(Integer id, String password) {
		super();
		this.id = id;
		this.password = password;
	}

	public Teacher(String tehId, String password, String name) {
		super();
		this.tehId = tehId;
		this.password = password;
		this.name = name;
	}

	public Teacher(Integer id, String tehId, String password, String name, String sex, Integer age, String place,
			String idNumber, String tel, String homeAdd, Date jobTime, TehGrade tehGrade, String job, String status) {
		super();
		this.id = id;
		this.tehId = tehId;
		this.password = password;
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.place = place;
		this.idNumber = idNumber;
		this.tel = tel;
		this.homeAdd = homeAdd;
		this.jobTime = jobTime;
		this.tehGrade = tehGrade;
		this.job = job;
		this.status = status;
	}

	@Override
	public String toString() {
		return "Teacher [id=" + id + ", tehId=" + tehId + ", password=" + password + ", name=" + name + ", sex=" + sex
				+ ", age=" + age + ", place=" + place + ", idNumber=" + idNumber + ", tel=" + tel + ", homeAdd="
				+ homeAdd + ", jobTime=" + jobTime + ", tehGrade=" + tehGrade + ", job=" + job + ", status=" + status
				+ "]";
	}

}
